public abstract class LExport
extends java.lang.Object
| Constructor and Description |
|---|
LExport(java.io.File file) |
LExport(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Flushes buffer and closes output stream.
|
abstract void |
openOutput(java.lang.String path) |
void |
write(boolean input,
int size) |
abstract void |
write(byte b) |
abstract void |
write(byte[] array)
Writes a byte array to the file.
|
void |
write(byte[] array,
int size)
Writes a byte array to the file.
|
void |
write(float input)
Writes a float to the file.
|
void |
write(int input) |
void |
write(int input,
int size)
Writes an integer to the file.
|
void |
write(java.lang.String input)
Writes a string to the output (no null terminator).
|
void |
write(java.lang.String input,
int size)
Writes a string to the output (no null terminator).
|
void |
writeZeros(int size) |
public LExport(java.io.File file)
throws java.io.FileNotFoundException
file - File to open an exporter to.java.io.FileNotFoundExceptionpublic LExport(java.lang.String path)
throws java.io.FileNotFoundException
path - Path to open an exporter to.java.io.FileNotFoundExceptionpublic abstract void openOutput(java.lang.String path)
throws java.io.FileNotFoundException
path - Path to open a channel to.java.io.FileNotFoundExceptionpublic abstract void write(byte[] array)
throws java.io.IOException
array - java.io.IOExceptionpublic void write(byte[] array,
int size)
throws java.io.IOException
array - size - Minimum byte size. Output will be appended with zeros until size is met.java.io.IOExceptionpublic void writeZeros(int size)
throws java.io.IOException
size - java.io.IOExceptionpublic void write(int input,
int size)
throws java.io.IOException
input - Integer to output.size - Minimum byte size. Output will be appended with zeros until size is met.java.io.IOExceptionpublic void write(int input)
throws java.io.IOException
input - java.io.IOExceptionpublic abstract void write(byte b)
throws java.io.IOException
b - java.io.IOExceptionpublic void write(java.lang.String input)
throws java.io.IOException
input - java.io.IOExceptionpublic void write(java.lang.String input,
int size)
throws java.io.IOException
input - size - Minimum byte size. Output will be appended with zeros until size is met.java.io.IOExceptionpublic void write(boolean input,
int size)
throws java.io.IOException
input - Boolean to writesize - Number of bytes to writejava.io.IOExceptionpublic void write(float input)
throws java.io.IOException
input - java.io.IOExceptionpublic abstract void close()
throws java.io.IOException
java.io.IOException